JS 浏览器前端生成拼音码 pinyin-pro

pinyin(\'汉语拼音\',{pattern:\'final\',toneType:\'num\',type:\'array\'});//[\'an4\',\'u3\',\'in1\',\...